package richbar.com.richbar.bean;

import com.common.base.BaseResult;

import java.util.List;

/**
 * Created by QiYang on 2018/11/24.
 */

public class GoodsListResult extends BaseResult{

    /**
     * code : 200
     * msg : 请求成功
     * data : {"rows":[],"total":0,"totalpage":0}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * rows : []
         * total : 0
         * totalpage : 0
         */

        private int total;
        private int totalpage;
        private List<DataBean> rows;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public List<DataBean> getRows() {
            return rows;
        }

        public void setRows(List<DataBean> rows) {
            this.rows = rows;
        }
        public static class DataBean{
            private String goods_id;
            private String goods_name;
            private String goods_img;
            private String goods_rate;
            private String goods_price;

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }

            public String getGoods_rate() {
                return goods_rate;
            }

            public void setGoods_rate(String goods_rate) {
                this.goods_rate = goods_rate;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }
        }
    }


}
